
$(".js-del").on("click", function (){
    var _that = $(this);
    swal({
            title: "确定?",
            text: "将删除此用户",
            type: "warning",
            showCancelButton: true,
            confirmButtonColor: "#DD6B55",
            confirmButtonText: "删除",
            closeOnConfirm: false
        },
        function(){
            swal("删除成功", "该用户已被移除", "success");
            $(_that).closest("tr").remove();
        });
});